package com.foo.game.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.google.gson.annotations.Expose;

@Entity
@Table(name = "GAME_RESOURCE")
public class GameResource {
	@Id
	@javax.persistence.GeneratedValue(generator = "system-uuid")
	@org.hibernate.annotations.GenericGenerator(name = "system-uuid", strategy = "uuid2")
	@Expose
	@Column(name = "ID", length = 36)
	private String id;
	@Expose
	@Column(name = "GAME_ID", length = 36, nullable = false)
	private String gameId;
	@Expose
	@Column(name = "SITE_ID", length = 36, nullable = false)
	private String siteId;
	@Expose
	@Column(name = "RESOURCE_NAME", length = 50, nullable = false)
	private String resourceName;// review,faq,and so on
	@Expose
	@Column(name = "RESOURCE_URL", length = 100, nullable = false)
	private String resourceURL;
	@Expose
	@Column(name = "RESOURCE_NUM", nullable = false)
	private int resourceNum;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getResourceName() {
		return resourceName;
	}

	public void setResourceName(String resourceName) {
		this.resourceName = resourceName;
	}

	public String getResourceURL() {
		return resourceURL;
	}

	public void setResourceURL(String resourceURL) {
		this.resourceURL = resourceURL;
	}

	public int getResourceNum() {
		return resourceNum;
	}

	public void setResourceNum(int resourceNum) {
		this.resourceNum = resourceNum;
	}

	public String getGameId() {
		return gameId;
	}

	public void setGameId(String gameId) {
		this.gameId = gameId;
	}

	public String getSiteId() {
		return siteId;
	}

	public void setSiteId(String siteId) {
		this.siteId = siteId;
	}
}
